﻿using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace DispatcherProhect.CustomJob
{
   public  class TestJob:IJob
    {
        public async Task Execute(IJobExecutionContext context)
        {
            await Task.Run(() =>
            {
                Console.WriteLine($"This is {Thread.CurrentThread.ManagedThreadId}{DateTime.Now}");
            });
        }

      
    }
}
